Total Complexity | 11 |
Dependencies | 1 |
Dependents | 2 |
Total lines | 133 |
Lines of code | 49 |
Logical lines of code | 20 |
Comment lines | 57 |
Methods | 8 |
Properties | 4 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
jsonSerialize() | 61 | 3 | 13 | |
map_validation_violations() | 60 | 2 | 15 | |
__construct() | 71 | 1 | 6 | |
get_wc_coupon_id() | 82 | 1 | 3 | |
get_google_promotion_id() | 82 | 1 | 3 | |
get_target_country() | 82 | 1 | 3 | |
get_errors() | 82 | 1 | 3 | |
has_error() | 79 | 1 | 3 |